<?php
/**
 * @package		简易CMS
 * @subpackage	获取最新的SVN版本号
 * @version		$Id: block_blank.php 18 2012-06-07 17:29:09Z htmambo@gmail.com $
 * @author		Hoping
 * @copyright	Copyright (C) 2010 Hoping Software Studio.
 */

if(!defined('IN_JYCMS')) {
	exit('Access Denied');
}

require_once libfile('commonblock_html', 'block/html');

class block_blank extends commonblock_html {

	function block_blank() {}

	function name() {
		return lang('blockclass', 'blockclass_html_script_blank');
	}

	function getsetting() {
		global $_G;
		$settings = array(
			'content' => array(
				'title' => 'blank_content',
				'type' => 'textarea'
			)
		);
		return $settings;
	}

	function getdata($style, $parameter) {
		$return = getstr($parameter['content'], '', 1, 0, 0, 1);
		return array('html' => $return, 'data' => null);
	}
}
